package com.onpositive.realmview.model;

import com.onpositive.semantic.model.realm.IIdentifiableObject;

/**
 * Logical part of workspace
 * @author kor
 *
 */
public interface IArtifact extends IIdentifiableObject,ICanDelete{

	/**
	 * 
	 * @return Human readable object name
	 */
	String   getTitle();
	
	/**
	 * Object id (global to according repository)
	 */
	String   getId();
	
	/**
	 * 
	 * @return true if artifact exists and valid due to best knowledge of toolkit
	 */
	boolean exists();
	
	/**
	 * 
	 * @return true if artifact may be deleted
	 */
	boolean canDelete();
	
	
}
